package Modele;

import xml.Commande;

public class Log {

	public String fullCommand;
	public int ligne;
	
	public String date;
	
	public Commande baseCommand;
	public String command;
	
	public String player;
	public int playerAcc;
	
	public String target;
	public int targetAcc;
	public boolean isTargetPlayer;
	
	public String position;
	
	public boolean garder;
	
	
	public Log(String fullCommand, String date, Commande baseCommand, String command, String player,
			int playerAcc, String target, int targetAcc,
			boolean isTargetPlayer, String position, int ligne) {
		super();
		this.fullCommand = fullCommand;
		this.date = date;
		this.baseCommand = baseCommand;
		this.command = command;
		this.player = player;
		this.playerAcc = playerAcc;
		this.target = target;
		this.targetAcc = targetAcc;
		this.isTargetPlayer = isTargetPlayer;
		this.position = position;
		this.ligne = ligne;
	}



	@Override
	public String toString() {
		return fullCommand;
	}


/*
	@Override
	public String toString() {
		return "Log [date=" + date + ", command=" + command + ", player="
				+ player + ", target=" + target + ", position=" + position
				+ "]";
	}
*/	
	
}
